﻿Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    Protected Sub ADDITION_Click(ByVal sender As Object, ByVal e As EventArgs) Handles ADDITION.Click
        Dim Myfirstno As Integer
        Dim Mysecondno As Integer
        Dim Myresult As Integer
       
        Myfirstno = Val(txt_firstno.Text)
        Mysecondno = Val(txt_secondno.Text)
        Myresult = Myfirstno + Mysecondno
        Lbl_addition.Text = Myresult
    End Sub
End Class